Convert boolean to integer

remove last 2 line solved the problem

1 Like