fixed projectsetup and logging