Automoc attachment fix