Both sentences are acceptable in everyday English. I do not quite see how to explain why they are so. If one of them were not, I could explain that, of course!. The "it being" construction is rather informal and conversational. To be avoided by those aspiring to elegance in writing or speech.
Many of your "which one of these is correct?" questions seem to be answered thus - that one of the examples is more formal and the other more casual and conversational.
PS On here is OK, but never do this in anything approaching formal situations...
Quote:I feel the second sentence is correct?
(End a statement with a question mark. If you want to ask a question, write a question e.g. "I feel the second sentence is correct. Am I right?")