Fix variables
Output stack errors