because i kinda rushed switching mechanic and forgot to implement one check, it doesnt crash on pc though only in web version