fix function source position