Please use OC.dirname() instead