Fixes issues

Your code doesn't run at all here.