fix bug push instance of pop