fix variable coordexp