Fix for no position
Fix for location exception