removed sp____release function calls
merge