fixed source bug