fix for coding review problem