checking the syntax of the loader