fixes errors introduced with the last commit