fix for marking attributes