fixed coding standards and added in folder check