fixed warnings + added unserialize message