fixed implementation of ::source