fixes for wrong variable types