fixed silly errors that prevented compiling