take off of empty else in classes of package models