fixing pragma warning