check if source is written/renamed correctly