Fixed error on stage3 build