fixes error on compile