Made the surf platform compatible with latest head