fix php notice in categories/all