fixing wrong variablenames