fixes for apt