updated some errors