Fix some Warnings

On first aktivation user gets some Warning about the extensions. The first is on line 44  must be an array but it is nothing. The second is on 180 thats the same must be a array but is nothing. This will be fixed with this commit.