amend error with stylesheet