Cleanup ftdetect
Add beresp keyword