doesn't throw error when elem is null
trying to adjust styles of settings-unit