fix bug by attaching artifact to project and not by replacing it