Too many arguments for substr near "'')" Execution aborted due to compilation errors