bug fixes. shader container

fixed bug where sp will be created multiple times for some shaders.