added dependent destroy and fixed table width in css