fixed source linking issue