slp: bugfix and test