fixed small bug, made webstorm complain less about coding style