fix resolveNormal when filename is empty