fix for the bug when coord from scheme is just an int