fixing problem with slp + rest