change 'false' to '0' in database