fixing loading slim binaries