last minute bug fix