fix chat padding and edit event after creation