fix bugs, allow setting alt text on images