fixed a typeo with a varible name