tweak to beta codes