make webapp compatible