Bug fixed

Fixed reference error