fixed error introduced in last commit