refactored metabox fields part