fixed a super weird bug