fixes in check if latest