Fix for empty coordinates