handled null and type cast error person and address