Fixes target bug