fix content detection

Signed-off-by: Clienthax <clienthax@gmail.com>