fix before action and translate