create failed when pos is an integer - close #541