fixed error, changed style