improve error and output handling