One possibility is that you baked them too long. Lemon bars should be baked until they're jiggly like jello and set in the middle. If they're too loose they need to bake for a few minutes longer.