Welcome!!! I suggest neutering him. That might be a solution towards helping your problem. Also, I don't know if he's lifting his leg, but you might want to try a belly band? Get some pee pads and put them in his bed and he goes on them a few times, put them toward the door that you usually go out of the most. Good luck with getting him housetrained!!!