Fixed bug for edit_resourcebase_style