Use pop() instead of pop_opt(). (update to latest master)