found the error. it was some unicode at the beginging of the file. :set nobomb :wq in vim fixed it