Fix #1

Added check whether coordinates exist