Fixed problem: PHP Notice: Undefined Index