changed alert message when coordinates aren't valid