added remove method for parameter widget