corrected the plugin for round edges