error fixing and debugging 12