slap: re-fixed bug in slap