Deleted bracket had jumped down a few lines - haunted keyboard most likely to blame