fixed codereview ploblem