Cannot call vars on state