fixed little code smell