hopefully fixing errors