adds fixes to clay mode