stock templates fix