fix loading plot