stack with errors