fix some bug and add image filter