added activate flag to moving platform