Fixed indentation causing misused code