bug fix for pjs
fixed to be animation