[minor] [fix] error logging for pop