error checking / css fix