Compile error was solved by removing pos1