removed error introduced for testing errorhandling promises