Fixed Lab9 bug

Signed-off-by: Sanjo <Deundiak@gmail.com>