filtered out bad co-ordinates