fixed bugs on create new poi
fixed nullpointers