whoops.. was using hasPrefix completely wrong. fixed ! bug.