finish coordinate input