fixing errors #2