Fix error with stack push operation