found the error, we think and have uncommented out the if else category statment