configuration query fix when creating rental