fixed a doofy coding error