fix overwrite css to apply in all cases