fix reload profile problem