removed debug puts from setstatus_base