bugfix image locals