remove leading './' from component paths