I think I may have fixed that weird bug