fix targets etc
seems to work