fixed extra declaration