squash npe
minor fix to error message