fixing the build in api
ignoring target
removing targets