fix'ed warnings