Fixed app errors from library modification