squash npe noticed by Akber