begin fixing errors