fix loading program