fix loading leave and saving hours sometimes