removed duplicate css class
minor refactoring