removed bugs so package compiles