fixed off by one bug in MOD loader (sample loop)