Warnings removing and creating arrays refining