bugfix: load better_errors in development only to prevent segmentation fault

fixes #120