fix codereview problem