grid input size collision fix