checking devimg directory