fix picking up aliases