bandaid fix for out of map bug