removed workaround and redefining head in different extension