perhaps fixed bug caused by reordering in types all.rb?