getting some weird errors