Website Bug Fix

fixed a bug in the website function