assert error fixed