fixed error introduced by last commit