Few minor fixes - fixed warnings from php