fixed missing const