You forgot a the scalar() call here...