fixed formatting and error