fix error in importing photo taks