adds fixes to clay mode
well i broke something with git