fix user data read write