State fix

Fixed callback state