Fixed all bugs with note page