SPP recusive problem

What am I doing wrong??