fix for some weird errors i think ?