fixing stateMask name