clean up code, remove inline styles