Removed encode problem