fix... wth $document xD