remove unnecessary targets