Changed some errors