removed error response function, scope fix