delete inline css style
Rename deprecated method