fixes #14 (unclear errors)