Fixing pos attributes