fixing re mistake in sub function + adding author in admin