added entity pop callback