Fix expand directions