Tuing some parameters for SP