Improve data process and IO