Bug fix: Error when not specify image file