added error handler on deps parser