ajax goods contoller fix