fix booking calculation