Fix some notices
Add point accepted character
Fix some undefined var