Fix shared option and others vars