Bug Fix - State passed as dictionary was not used