fixed key error and added input panel fro num data fields