Fixed type on if-for-each page