Fixed some warings