corrections for grid locking issues.