fixed simple errors