Fixed bug in get user ad by id with null reference exception