fixed grid bounds errors with maker.