fixed NPE for aborted builds