fix errormessages for source and sizes order
improve error messages
0.9.5