fixing small errors, hoping to find out issue