Fix bug in coding sandbox