coord NoneType handling to pass tests