fixed bug
really fixed this time