Revert "remove fixed from attachment"

This reverts commit ea8e94a8f4ad013b9348160b983e75ae0b982656.
JS stuffs