refactor some styles