bug fix on deletion of skill causing page error.