fixed stupid shifting error