fix for gird locking capability