fixing up an error