fixed overriding attributes by tasks
updated version