removed max and min attributes again