fixed error in signatures
fixed some errors.