Fixed small crash