Fix Store Procedure