fixed the stupid problem