tiny fix for vars in image plugin