fixed datastore server to use the right number of arguments