alloc replace system library but not works now