fixes

dropped out data pointer from write/read image command struct, since it is not needed.