fixed pcModule with package tail handling