Fixed:
small bug on document load