fixed an error that caused build to not run the tasks