fix variable names for mode owner and group