Fixed problem with stack.