fix sequence problems
try to fix building palette problems