optimize loading prop