Fixed a partial loader bug in the SNAP loader